package day06;

public class test4 {
    public static void main(String[] args) {
        double savings = 0.0;
        int day = 0;
        
        while (savings < 100) {
            day++;
            savings += 2.5;
            
            if (day % 5 == 0) {
                savings -= 6;
            }
        }
        System.out.printf("第%d天", day);
    }
}
